package org.note.law.module.provision;

import org.lboot.jpa.service.UniService;
import org.note.law.module.word.LawWord;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface LawProvisionService extends UniService<LawProvision, String> {
    List<LawProvision> getByCodeId(String codeId);

    @Transactional
    List<LawProvision> deleteByCodeId(String codeId);
}
